setNavigationBar

open fun setNavigationBar(visible: Boolean): Boolean

Sets the visibility of the navigation bar system-wide.

This API call affects the entire device, not just the calling application's context. Setting visible to true makes the navigation bar visible; false hides it.

Return

true if the operation was successful, false otherwise

Parameters

visible

true to make the navigation bar visible, false to hide it